<div class="slide">
    <div class="layui-carousel" id="slide-cont">
        <div carousel-item>
            {system:slide item="v" field="url_link,photo"}
            <div>
                <a href="{$v.url_link}">
                    <img src="{:_get_image_preview_url($v.photo)}" alt="">
                </a>
            </div>
            {/system:slide}
        </div>
    </div>
</div>